<script setup lang="ts">
// import { RouterLink, RouterView } from 'vue-router'
import Bottom from "../components/Bottom.vue";
import Bg2 from "../components/Bg2.vue";
import Txt2 from '@/components/Txt2.vue'
import Ydl from '@/components/Ydl.vue'
import Zxt from "@/components/Zxt.vue";
import Bg3 from '@/components/Bg3.vue';
import Btyx from '@/components/Btyx.vue'
import Btyx1 from '@/components/Btyx1.vue'
import Hbt from "@/components/Hbt.vue";
import Map1 from "@/components/Map1.vue";
</script>

<template>
  <div>
    <div class="box">
      <div class="header">
        <div class="header-a">
          <div class="a1">设备统计……</div>
          <div class="hua">
            <Hbt></Hbt>
          </div>
        </div>
        <div class="header-b">
          <div class="a1">实时用电……</div>
          <div class="yd" style="display: flex">
           <Ydl></Ydl>
          </div>
          <div class="zxt">
            <Zxt></Zxt>
          </div>
        </div>
        <div class="header-c">
          <div class="a1">场地使用……</div>
          <div class="cdsy">
            <Txt2></Txt2>
          </div>
        </div>
      </div>
      <div class="body">
        <div class="body-1">
          <Map1></Map1>
        </div>
        <div class="botton">
          <Bottom></Bottom>
        </div>
      </div>
      <div class="footer">
        <div class="footer-d">
          <div class="a1">设备检测……</div>
          <div class="a22">
            <div class="btyx" style="display: flex;">
              <div class="btyx2">
                <Btyx></Btyx>
              </div>
              <div class="btyx3">
                <Btyx1></Btyx1>
              </div>
            </div>
            <div class="btyx1">
              <Bg3></Bg3>
            </div>
          </div>
        </div>
        <div class="footer-e">
          <div class="a1">实时报告……</div>
          <div class="Sxbg"><Bg2></Bg2></div>
        </div>
      </div>
      <div class="top"></div>
    </div>
  </div>
</template>
<style>
.header {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/Left.png") no-repeat 0 0 / 100% 100vh;
}
.body {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/pageBg.png") no-repeat 0 0 / 100% 100vh;
  position: relative;
}
.body-1 {
  width: 100%;
  height: 2rem;
  margin-top: 1.4rem;
}
.footer {
  width: 35%;
  height: 100vh;
  background: url("../assets/images/Right.png") no-repeat 0 0 / 100% 100vh;
}
.header-a {
  width: 2.5rem;
  height: 1.2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.hua{
  width: 100%;
  height: 1rem;
}
.header-b {
  width: 2.5rem;
  height: 1.2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.header-c {
  width: 2.5rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  margin-left: 0.4rem;
}
.footer-c {
  width: 2.5rem;
  height: 1.2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.footer-d {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.footer-e {
  width: 2.5rem;
  height: 2rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
}
.a1 {
  width: 96%;
  height: 0.2rem;
  background: url("../assets/images/titlebg.png") no-repeat 0 0 / 100% 100%;
  color: #fff;
  padding-left: 0.1rem;
  line-height: 0.2rem;
}
.a22{
  width: 100%;
  height: 1.8rem;
}
.btyx{
  width: 100%;
  height: 0.9rem;
}
.btyx2{
  width: 30%;
  height: 0.9rem;
}
.btyx3{
  width: 70%;
  height: 0.9rem;
}
.btyx1{
  width: 100%;
  height: 0.9rem;
}
.yd{
  width: 100%;
  height: 0.3rem;
}
.zxt{
  width: 100%;
  height: 0.7rem;
}
.Sxbg{
  width: 100%;
  height: 1.8rem;
  margin-top: 0.05rem;
}
.cdsy{
  width: 100%;
  height: 1.7rem;
}
.top {
  width: 100%;
  height: 0.3rem;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../assets//images/Top.png") no-repeat 0 0 / 100% 100%;
}
.botton {
  width: 100%;
  height: 0.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  background: url("../assets/images/nav.png") no-repeat 0 0 / 100% 100%;
}
.aaa1 {
  width: 45%;
  border: 1px solid #ccc;
  margin-top: 0.04rem;
  text-align: center;
  display: flex;
}
.dian {
  line-height: 0.3rem;
  margin-left: 0.03rem;
}
.tu {
  margin-top: 0.03rem;
}
.aaa2 {
  width: 45%;
  border: 1px solid #ccc;
  margin-top: 0.04rem;
  text-align: center;
  display: flex;
}
.dian1 {
  line-height: 0.3rem;
  margin-left: 0.03rem;
}
.tu1 {
  margin-top: 0.03rem;
}
</style>